/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mldn.demo;

/**
 *
 * @author Administrator
 */
public class ArrayRefDemo2 {
    public static void main(String[] args){
        int temp[] = fun();
        print(temp);
    }
    
    public static void print(int x[]){
        for(int i=0; i<x.length; i++){
            System.out.print(x[i]+",");
        }
    }
    
    public static int[] fun(){
        int[] ss = {1,3,5,7,9};
        return ss;
    }
}
